<tagLib name="strends" />
<include file="Public:header" />
<style type="text/css">
	.tags_ul li{
		float:left;
		margin: 5px 0 0 5px;
		padding: 5px 5px 4px 5px;
		white-space: nowrap;
	}
</style>
<div class="handle-btns">
	<strends:linkBtn text="{%RETURN_LIST}" href="{:Cookie::get('returnUrl')}" />
</div>
<form method='post' id="form" name="form" action="{:U(MODULE_NAME.'/insert')}" enctype="multipart/form-data">
<table cellpadding="4" cellspacing="0" border="0" class="table-form">
	<tr>
		<th width="150">{%TITLE}</th>
		<td><input type="text" class="textinput" name="title" value="" style="width:400px;" /></td>
	</tr>
	<tr>
		<th width="150">{%SUB_TITLE}</th>
		<td><input type="text" class="textinput" name="sub_title" value="" style="width:400px;" /></td>
	</tr>
	<tr>
		<th>{%CID}</th>
		<td>
			<select name="cid">
				<foreach name="category_list" item="category_item">
				<option value="{$category_item.id}">{$category_item.name}</option>
				</foreach>
			</select>
		</td>
	</tr>
	<tr>
		<th>{%USER_NAME}</th>
		<td>
			<select name="uid">
				<foreach name="user_list" item="user_item">
				<option value="{$user_item.uid}">{$user_item.show_name}</option>
				</foreach>
			</select>
		</td>
	</tr>
	<tr class="best_img" >
		<th>{%BEST_IMG}</th>
		<td>
			<input type="file" class="fileinput" name="best_img" size="30" />
		</td>
	</tr>
	
	<tr>
		<th>{%SOURCE}</th>
		<td><input type="text" class="textinput" name="source" value="" size="60" /></td>
	</tr>		
	<tr>
		<th>{%SORT}</th>
		<td>
			<input type="text" class="textinput" name="sort"  name="sort" rows="5" value=""/>
		</td>
	</tr>
	
	<tr>
		<th>{%GRID}</th>
		<td>
			<textarea class="areainput" name="grid" rows="5"></textarea>
		</td>
	</tr>
	<tr>
		<th>{%CONTENT}</th>
		<td>
			<strends:editor id="conent" name="content" type="CKEDITOR" width="96%" height="230px" content="" />
		</td>
	</tr>
	<tr class="act">
		<th>&nbsp;</th>
		<td>
			<input type="submit" class="submit_btn" value="{%ADD_SUBMIT}" />
			<input type="reset" class="reset_btn" value="{%RESET}" />
		</td>
	</tr>
</table>
</form>

<include file="Public:footer" />